import request from '@/utils/request'

// 查询审批列表
export function listExamine(query) {
  return request({
    url: '/system/examine/list',
    method: 'get',
    params: query
  })
}

// 查询审批流程详细
export function getExamine(postId) {
  return request({
    url: '/system/examine/' + postId,
    method: 'get'
  })
}

// 审批
export function examineFlow(data) {
  return request({
    url: '/system/examine/examine',
    method: 'post',
    data: data
  })
}
